OPC Studio User's Guide and Reference
UAEnumDefinition Constructor(IEnumerable<UAEnumField>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAEnumDefinition Class > UAEnumDefinition Constructor : UAEnumDefinition Constructor(IEnumerable<UAEnumField>)
Sequence of fields that make up the data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying the enumeration fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal fields As IEnumerable(Of UAEnumField) _
)
'Usage
 
Dim fields As IEnumerable(Of UAEnumField)
 
Dim instance As New UAEnumDefinition(fields)
public UAEnumDefinition( 
   IEnumerable<UAEnumField> fields
)
public:
UAEnumDefinition( 
   IEnumerable<UAEnumField^>^ fields
)

Parameters

fields
Sequence of fields that make up the data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also